package me.yangteng.zhihudaily.model;

import java.util.List;

/**
 * Created by MorenYang on 2017/12/13.
 */

public class LatestNews extends StoriesList {

  /**
   * date : 20171213
   * stories : [{"title":"你胖，不是因为你吃得多，而是因为你吃错了东西","ga_prefix":"121319","images":["https://pic1.zhimg.com/v2-5038f2950b3c6c006d6935a5883f6d38.jpg"],"multipic":true,"type":0,"id":9660903},{"images":["https://pic1.zhimg.com/v2-d86c0d86525275e4da2d37e3f7862ce8.jpg"],"type":0,"id":9660952,"ga_prefix":"121318","title":"南京大屠杀和我有什么关系？"},{"images":["https://pic3.zhimg.com/v2-b319a4cfd7dc1c5711c1f6f488bbae6e.jpg"],"type":0,"id":9660479,"ga_prefix":"121317","title":"常听人说要「走出舒适区」，可到底该怎么走出去？"},{"images":["https://pic1.zhimg.com/v2-a1367f4f62fe06c4d7f25786dbeba59c.jpg"],"type":0,"id":9660654,"ga_prefix":"121316","title":"出租屋渗水把楼下淹了，租客不知情，该赔偿吗？"},{"title":"- 有人能让小动物一动不动，是催眠术吗？\r\n- 不，是它们在装死","ga_prefix":"121315","images":["https://pic3.zhimg.com/v2-65eb106c83f1ab8b712b967d21cf64b2.jpg"],"multipic":true,"type":0,"id":9660894},{"images":["https://pic4.zhimg.com/v2-ae8cb2fdbe5a61caffe9a5e177748e83.jpg"],"type":0,"id":9660544,"ga_prefix":"121314","title":"在接到一次 Google 的乌龙电话之后，我想，这真是家骄傲的公司"},{"images":["https://pic2.zhimg.com/v2-4f2e31c942c93e5036ea96ff9bed8991.jpg"],"type":0,"id":9660841,"ga_prefix":"121312","title":"大误 · 我德已经离开这个世界很久了"},{"images":["https://pic3.zhimg.com/v2-66d6e23385f67c61d90a2fbb65f398fe.jpg"],"type":0,"id":9660793,"ga_prefix":"121310","title":"现代车主撞上了劳斯莱斯，真的是卖房也得赔吗？"},{"images":["https://pic4.zhimg.com/v2-e479ceb2f958a5fec68c9654d6f5e39f.jpg"],"type":0,"id":9660783,"ga_prefix":"121309","title":"化妆品都快堆成山了，怎么收拾桌子才能整洁又清爽？"},{"title":"2010 上海世博会之后，那些场馆后来都怎么样了？","ga_prefix":"121308","images":["https://pic1.zhimg.com/v2-aeb18b7b854878683ce53717134ddf50.jpg"],"multipic":true,"type":0,"id":9660763},{"images":["https://pic1.zhimg.com/v2-45de3afe543961387061ac2e03da61ac.jpg"],"type":0,"id":9660832,"ga_prefix":"121307","title":"- 有什么科学家还没弄明白的东西？\r\n- 塑料袋"},{"images":["https://pic4.zhimg.com/v2-d36fcc9d6b90fa48a57155a08a512853.jpg"],"type":0,"id":9660830,"ga_prefix":"121307","title":"为什么会有律师给陈世峰辩护？"},{"images":["https://pic2.zhimg.com/v2-a94baf4cd2448d58aa8b13e07811e311.jpg"],"type":0,"id":9660786,"ga_prefix":"121307","title":"《北京青年报》未经家属同意，把咏宁坠楼视频公布错在哪？"},{"images":["https://pic3.zhimg.com/v2-f69d4dc9fcee245c940acb0dabe43f2a.jpg"],"type":0,"id":9660723,"ga_prefix":"121306","title":"瞎扯 · 如何正确地吐槽"}]
   * top_stories : [{"image":"https://pic3.zhimg.com/v2-a07ce9e8c8d05033ce34560bf2caf5c6.jpg","type":0,"id":9660952,"ga_prefix":"121318","title":"南京大屠杀和我有什么关系？"},{"image":"https://pic3.zhimg.com/v2-1ffc24fc80edd08efd6e39094c0c6bfe.jpg","type":0,"id":9660903,"ga_prefix":"121319","title":"你胖，不是因为你吃得多，而是因为你吃错了东西"},{"image":"https://pic1.zhimg.com/v2-fc65cb40fea8703fbe40e1ff7d6051c4.jpg","type":0,"id":9660894,"ga_prefix":"121315","title":"- 有人能让小动物一动不动，是催眠术吗？\r\n- 不，是它们在装死"},{"image":"https://pic1.zhimg.com/v2-c3ff57037575ed0417715bc26918db08.jpg","type":0,"id":9660544,"ga_prefix":"121314","title":"在接到一次 Google 的乌龙电话之后，我想，这真是家骄傲的公司"},{"image":"https://pic3.zhimg.com/v2-05c1dfa6a7896a7273a993ab95f1ef8a.jpg","type":0,"id":9660479,"ga_prefix":"121317","title":"常听人说要「走出舒适区」，可到底该怎么走出去？"}]
   */


  public static final String STORAGE_PREFIX = "LATEST_STORIES_LIST_";
  private static final String storageKey = STORAGE_PREFIX;
  private List<TopStoriesBean> top_stories;

  public List<TopStoriesBean> getTop_stories() {
    return top_stories;
  }

  public void setTop_stories(List<TopStoriesBean> top_stories) {
    this.top_stories = top_stories;
  }

  public static class TopStoriesBean {
    /**
     * image : https://pic3.zhimg.com/v2-a07ce9e8c8d05033ce34560bf2caf5c6.jpg
     * type : 0
     * id : 9660952
     * ga_prefix : 121318
     * title : 南京大屠杀和我有什么关系？
     */

    private String image;
    private int type;
    private int id;
    private String ga_prefix;
    private String title;

    public String getImage() {
      return image;
    }

    public void setImage(String image) {
      this.image = image;
    }

    public int getType() {
      return type;
    }

    public void setType(int type) {
      this.type = type;
    }

    public int getId() {
      return id;
    }

    public void setId(int id) {
      this.id = id;
    }

    public String getGa_prefix() {
      return ga_prefix;
    }

    public void setGa_prefix(String ga_prefix) {
      this.ga_prefix = ga_prefix;
    }

    public String getTitle() {
      return title;
    }

    public void setTitle(String title) {
      this.title = title;
    }
  }

  @Override
  public String getStorageKey() {
    return storageKey;
  }
}
